/**
 * Copyright (C) 2013 SHANGHAI VOLKSWAGEN, All rights reserved.
 * License version 1.0, a copy of which has been included with this.
 *
 * @File name：com.bwie.common.domain.DTOCommunity
 * @Create on：2024/3/25
 * @Author：liuchang
 */
package com.bwie.common.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * <p>ClassName：DTOCommunity</p >
 * <p>Description：</p >
 * <p>Author：liuchang</p >
 * <p>Date：2024/3/25</p >
 */
@Data
public class DTOCommunity {
    private Integer id;//id
    private Integer userId;//用户id
    private String title;//主题
    private String experience;//治疗经历
    private String context;//发布内容
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;//发布时间
    private String isDelete;//是否删除1.存在2.删除
    private String deptName;//科室名称
    private String userName;//用户名
    private String roleName;//角色名称
}
